package com.ng.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户登录 VO
 *
 * @author Ng
 * @date 2024/03/08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户登录", description = "用户登录 VO")
public class UserLoginVO implements Serializable {

    @ApiModelProperty("用户 ID")
    private Long userId;

    @ApiModelProperty("账号")
    private String userName;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("JWT 令牌")
    private String token;
}
